package com.zwl.demo.graph.node;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.neo4j.ogm.annotation.NodeEntity;
import org.neo4j.ogm.annotation.Property;
import org.neo4j.ogm.annotation.Relationship;

@NodeEntity(label = "diet_1")
@EqualsAndHashCode(callSuper = false)
public class Diet1 extends BaseNode {

    public Diet1(String title) {
        super(title);
    }

    @Relationship()
    private Diet1 start;
}
